package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.entity.Brand;

import java.awt.*;
import java.util.List;

public interface BrandService extends IService<Brand> {
    PageDTO<BrandDTO> querypage(Integer page, Integer rows,String key);

    void insertbrand(BrandDTO brandDTO);

    void updatebrand(BrandDTO brandDTO);


    List<BrandDTO> querybrandlist(List<Long> ids);

    BrandDTO querybrandById(Long id);

    void deleteById(Long bid);



    List<BrandDTO> queryBrandByCategory(Long cid);
}
